﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AntUnion.FrameWork.Model.ModelsExt
{

    public class StackChartData<T>
    {
        public List<string> Categories { get; set; }
        public List<SeriesItem<T>> Series { get; set; }
    }

    public class SeriesItem<T>
    {
        public string Name { get; set; }
        public List<T> Data { get; set; }
    }

    public class PieChartDataModel
    {
        public List<PieChartDataSeries> Series { get; set; }
    }

    public class PieChartData
    {
        public List<PieChartDataSeries> Series { get; set; }
    }

    public class PieChartDataSeries
    {
        public List<PieSeriesItem> Data { get; set; }
    }

    public class PieSeriesItem
    {
        public string Name { get; set; }
        public int Value { get; set; }
    }
}
